def main():
    n=input("")
    n=int(n)
    t=n
    factors=[]
    f=2
    while t!=1:
        while t%f==0:
            factors.append(f)
            t/=f
        f+=1
        print(n,"*".)